package ihistoryApp.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("answers")
public class Answer {
    @TableId(type = IdType.AUTO)
    private Long answerId;

    private Long questionId;

    private String answerText;

    private Integer isCorrect;
}